package com.xtkj.accountjava.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xtkj.accountjava.entity.AccountBookEntity;
import com.xtkj.accountjava.entity.UserAccountBookEntity;
import com.xtkj.accountjava.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AccountBookMapper extends BaseMapper<AccountBookEntity> {

    List<AccountBookEntity> findAllAccountBooksAndCategorys();
    AccountBookEntity findAccountBookAndCategorysById(int id);

}
